package com.bsierp.business.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Department entity. @author MyEclipse Persistence Tools
 */

public class Department implements java.io.Serializable {

    // Fields

    private Integer departmentId;
    private String departmentName;
    private Set employeeHistories = new HashSet(0);
    private Set employees = new HashSet(0);

    // Constructors

    /** default constructor */
    public Department() {
    }

    /** minimal constructor */
    public Department(String departmentName) {
        this.departmentName = departmentName;
    }

    /** full constructor */
    public Department(String departmentName, Set employeeHistories,
            Set employees) {
        this.departmentName = departmentName;
        this.employeeHistories = employeeHistories;
        this.employees = employees;
    }

    // Property accessors

    public Integer getDepartmentId() {
        return this.departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentName() {
        return this.departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public Set getEmployeeHistories() {
        return this.employeeHistories;
    }

    public void setEmployeeHistories(Set employeeHistories) {
        this.employeeHistories = employeeHistories;
    }

    public Set getEmployees() {
        return this.employees;
    }

    public void setEmployees(Set employees) {
        this.employees = employees;
    }

}